package com.yksj.healthtalk.ui.home;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

import com.yksj.healthtalk.comm.BaseFragmentActivity;
import com.yksj.healthtalk.ui.R;
/**
 * 退款
 * @author Administrator
 *
 */
public class ToSeeRefundActivity extends BaseFragmentActivity {

	private String account;
	private String tel;
	private TextView pay_acount;
	private TextView telephone;

	@Override
	protected void onCreate(Bundle arg0) {
		super.onCreate(arg0);
		setContentView(R.layout.to_see_refund);
		initWidget();
		initData();
	}

	private void initData() {
		Intent intent = getIntent();
		if (intent.hasExtra("account")) {
			account = intent.getStringExtra("account");
		}
		if (intent.hasExtra("tel")) {
			tel = intent.getStringExtra("tel");
		}
		
		titleTextV.setText(getString(R.string.refund));
		
		titleLeftBtn.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
			onBackPressed();	
			}
		});
		
		pay_acount.setText(account);
		telephone.setText(tel);

	}

	private void initWidget() {
		initTitle();
		pay_acount = (TextView) findViewById(R.id.pay_acount);
		telephone = (TextView) findViewById(R.id.telephone);
	}

}
